package com.whzm.mapper;

import com.whzm.pojo.CompanyUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CompanyUserMapper {

    /**
     * 添加一条公司数据
     * @param companyUser
     * @return
     */
    @Insert("insert into flow_company values(#{id},#{name},#{position},#{userId},#{isDeleted})")
    Integer addCompanyUser(CompanyUser companyUser);
}
